<?php
// 输出页面
$html = '';
$html .= '<div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>';
$html .= '<div class="weui-msg__text-area">';
$html .= '<h2 class="weui-msg__title">原视频解析成功</h2>';
$html .= '<p class="weui-msg__desc">' . $data['title'] . '</p>';
$html .= '</div><p class="weui-btn-area">';
$html .= '<a href="' . url('download') . '?video=' . urlencode($data['video']) . '" class="weui-btn weui-btn_primary">下载视频</a>';
if ($data['music']) {
    $html .= '<a href="' . url('download') . '?music=' . urlencode($data['music']) . '" class="weui-btn weui-btn_primary" style="background-color: #e64525; border-color: #c63317;">下载BGM音频</a>';
}
$html .= '</p>';
commonHtml($html, $data['title'] . ' | DouYin', true);
